
/**
 * Ősosztály, amely az összes, a j�t�kban szerepl� egys�g �soszt�ly�ul szolg�l.
 */
public class Entity {

  protected Field field;
  protected Game game;
  public Integer ID = SkeletonHelper.GetObjectID();


  public boolean explode() {
    SkeletonHelper.FunctionBegin(ID, "Entity", "explode");
    SkeletonHelper.FunctionEnd(ID, "Entity", "explode", "false");
    return false;
  }

  public boolean dig() {
    SkeletonHelper.FunctionBegin(ID, "Entity", "dig");
    SkeletonHelper.FunctionEnd(ID, "Entity", "dig", "false");
    return false;
  }

  public boolean kill() {
    SkeletonHelper.FunctionBegin(ID, "Entity", "kill");
    SkeletonHelper.FunctionEnd(ID, "Entity", "kill", "false");
    return false;
  }

  public boolean eat() {
    SkeletonHelper.FunctionBegin(ID, "Entity", "eat");
    SkeletonHelper.FunctionEnd(ID, "Entity", "eat", "false");
    return false;
  }

  public boolean move(int direction, int depth) {
    SkeletonHelper.FunctionBegin(ID, "Entity", "move");
    SkeletonHelper.FunctionEnd(ID, "Entity", "move", "false");
    return false;
  }

  public boolean isRound() {
    SkeletonHelper.FunctionBegin(ID, "Entity", "isRound");
    SkeletonHelper.FunctionEnd(ID, "Entity", "isRound", "false");
    return false;
  }

  public void activate() {
    SkeletonHelper.FunctionBegin(ID, "Entity", "activate");
    SkeletonHelper.FunctionEnd(ID, "Entity", "activate");
  }

  public void setField(Field field) {
    SkeletonHelper.FunctionBegin(ID, "Entity", "setField");

    this.field = field;

    SkeletonHelper.FunctionEnd(ID, "Entity", "setField");
  }
}